package com.aidex.biz.mapper;

import com.aidex.common.core.mapper.BaseMapper;
import com.aidex.biz.domain.ShoppingCar;

import java.util.List;

/**
 * 购物车Mapper接口
 * @author sean
 * @email 2074844820@qq.com
 * @date 2023-07-02
 */
public interface ShoppingCarMapper extends BaseMapper<ShoppingCar>
{

    /**
     * 批量删除购物车
     * @param ids 需要删除的购物车ID集合
     * @return
     */
    public int deleteShoppingCarByIds(String[] ids);

    /**
     * 获取最大编号
     * @param shoppingCar 购物车
     * @return 结果
     */
    public Integer findMaxSort(ShoppingCar shoppingCar);

    /**
     * 根据IDS查询信息
     */
    public List<ShoppingCar> findListByIds(String[] ids);

}
